<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试行高</title>
    <style type="text/css">
        div{
            height: 100px;
            font-size: 20px;
            background: red;
            text-align: center;
            line-height: 500%;
        }
    </style>
</head>
<body>
<div class="abcd">我的世界</div>
</body>
</html>